
<div class="layui-card" >
    <div class="layui-card-header">版本信息</div>
    <div class="layui-card-body layui-text" style="    padding: 12px 15px;">
        <table class="layui-table">
            <colgroup>
                <col width="100">
                <col>
            </colgroup>
            <tbody>
            <tr>
                <td>系统名称</td>
                <td >
                    {:config('setting.web_site_title')}
                </td>
            </tr>
            <tr>
                <td>当前版本</td>
                <td id="show_version">
                    v{:config('setting.version')}
<!--                    <sup>build{:config('setting.build')}</sup>-->
                </td>
            </tr>
            <tr>
                <td>授权</td>
                <td>
                    {php} if(1 == config('setting.authorization')){ {/php}

                    <span class="layui-badge layui-bg-green">

                                      {switch :config('setting.edition') }
                                    {case pro }专业版{/case}
                                    {case base }基础版{/case}
                                    {case free}免费版{/case}
                                    {default /}定制版
                                {/switch}授权

                                </span>
                    &nbsp;-&nbsp;{:config('setting.end_time')}
                    {php} }elseif(-1 == config('setting.authorization')){ {/php}

                    <span class="layui-badge layui-bg-red">	已过期</span>
                    &nbsp;到期时间{:config('setting.end_time')}
                    {php} }else{ {/php}

                    <span class="layui-badge layui-bg-orange">	未授权</span>
                    {php} }{/php}

                </td>
            </tr>
            <tr >
                <td >当前域名</td>
                <td>
                    {$Request.domain}
                </td>
            </tr>
            <tr >
                <td >服务器IP</td>
                <td>
                    {php} echo $_SERVER['SERVER_ADDR'];{/php}
                </td>
            </tr>
            </tbody>
        </table>
    </div>
</div>
<div class="layui-card layui-hide" >
    <div class="layui-card-header">近期更新<span style="color:red;">【仅供研究测试】</span></div>
    <div class="layui-card-body">
        <ul class="layui-timeline">
            {volist name='versions' id='vo'}
            <li class="layui-timeline-item">
                <i class="layui-icon layui-timeline-axis"></i>
                <div class="layui-timeline-content layui-text">
                    <h3 class="layui-timeline-title">
                        V{$vo.version} 
                        <span class="layui-badge-rim">{$vo.publish_time|time_format='Y-m-d'}</span>
                    </h3>
                        {$vo.content|raw}
                </div>
            </li>
            {/volist}
        </ul>
    </div>
</div>
<div class="layui-card-header">关于版权</div>
<div class="layui-card-body layui-text layadmin-about">
    <p>© {:date('Y')}版权所有</p>
</div>